package src;

/**
 * @author s9111_s10304
 *
 */
public class Department {
    public String name;
    public Manager m;
    public Agent a;
    
    /**
     * @param name
     * @param m
     * @param a
     */
    public Department(String depName, Manager depMng, Agent depAgt) {
        name = depName;
        m = depMng;
        a = depAgt;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @return the m
     */
    public Manager getM() {
        return m;
    }

    /**
     * @param m the m to set
     */
    public void setM(Manager depMng) {
        m = depMng;
    }

    /**
     * @return the a
     */
    public Agent getA() {
        return a;
    }

    /**
     * @param a the a to set
     */
    public void setA(Agent depAgt) {
        a = depAgt;
    }
}